Upgrade to pydantic v2 #520#521
Upgrade to pydantic v2 #520#521joshdimanteto wants to merge 14 commits intoremove-database-backend-#489from
Conversation
fa97c48 to
b9fbab0
Compare
4548eb9 to
f5a8fbf
Compare
7284f0d to
9f8c259
Compare
9f8c259 to
06c6be2
Compare
patrick-austin
left a comment
There was a problem hiding this comment.
Had a few thoughts on whether some of the pydantic functions are actually required or whether they can be simplified, but I've not actually run the code so some of my suggestions might be wrong (it's based on vague memory of how validation etc. works).
Will try and do some experimentation to check these suggestions make sense at some point, but it might be quicker for you to have a go if you have time?
patrick-austin
left a comment
There was a problem hiding this comment.
Glad those suggestions did actually work / make sense in the end. I haven't done any targeted manual testing (just checked that the API starts and I can submit an arbitrary query OK), since this didn't add/change any specific functionality and the tests are passing on the CI. I'm happy to approve based on that but let me know if you think there's something worth manually checking in more detail.
This PR will close #520
Description
Testing Instructions
Add a set up instructions describing how the reviewer should test the code
icatdb Generator Script Consistency TestCI job fails, is this because of a deliberate change made to the script to change generated data (which isn't actually a problem) or is here an underlying issue with the changes made?fix:,feat:orBREAKING CHANGE:so a release is automatically made via GitHub Actions upon merge?Agile Board Tracking
Connect to #520